package cn.kgc.jdbc.dao;

import cn.kgc.jdbc.entity.Student;

import java.util.List;

/**
 * @author: mosin
 * @version: v1.0  2022/8/28
 */
public interface StudentDao {

    Integer insertStudent(Student student);

    Integer deleteById(Integer id);

    Integer updateStudentById(Integer id, long clazzId);

    List<Student> findAllStudents();

    Student findByName(String name);
}
